<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch"
          action="${request.getContextPath()}/eqpMonitor/eqpMonitor" method="post">
        <div class="bjui-searchBar">
            <g:hiddenField name="SYS_QUERY_NAME" value="monitorList"/>
            <g:hiddenField name="EXPORT_CONTENT_NAME" value="eqpMonitorExcel"/>
            <input name="time" type="radio" value="1" <g:if test="${time == '1'}">checked="checked"</g:if>/>
            <label>real time</label>
            <input name="time" type="radio" value="2" <g:if test="${time == '2'}">checked="checked"</g:if>/>
            <label>last day</label>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <label>Module：</label>
            <g:select name="module" from="${ModuleList}" data-toggle="selectpicker" data-live-search="true"
                      optionKey="label" optionValue="value" value="${module}" data-width="200"
                      noSelection="['': '===请选择===']" data-nextselect="#monEqpType"
                      data-refurl="${request.getContextPath()}/JsonData/getOptionHTMLByTarget?module={value}&SYS_QUERY_NAME=eqpType"/>&nbsp;
            <label>设备类型：</label>
            <g:select name="eqpType" from="${eqptypeList}" data-toggle="selectpicker" data-live-search="true"
                      optionKey="label" optionValue="value" value="${eqpType}" data-nextselect="#monEqpid" data-width="200"
                      data-refurl="${request.getContextPath()}/JsonData/getOptionHTMLByTarget?eqpType={value}&SYS_QUERY_NAME=Report_075eqpList"
                      noSelection="['': '===请选择===']" id="monEqpType"/>&nbsp;
            <label>设备编号：</label>
            <g:select name="equipmentId" from="${eqpList}" data-toggle="selectpicker" data-live-search="true"
                      optionKey="label" optionValue="value" value="${equipmentId}" id="monEqpid" data-width="200"
                      noSelection="['': '===请选择===']"/>
            <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
            <a type="button" class="btn btn-green"
               href="${request.getContextPath()}/eqpMonitor/eqpMonitor?export=xls"
               data-toggle="doexport" data-confirm-msg="确定要导出吗？" data-icon="sign-out">导出</a>
        </div>
    </form>
</div>


<div class="bjui-pageContent tableContent">
    <g:if test="${monitorList.size() > 0}">
        <g:render template="eqpMonitorExcel"></g:render>
    </g:if>
</div>
<g:render template="../template/pagination"/>